
export function getUserInfoApi() {
  const json = {
    id: "@id", //随机生成id
    name: "@cname", //随机生成中文名字
    "age|18-60": 1, //随机生成18-60的数字
    "sex|1-2": 1, //随机生成1-2的数字
    "salary|1000-10000": 1, //随机生成1000-10000的数字
    "birthday": "@date", //随机生成日期
    "time": "@time", //随机生成时间
    "content": "@cparagraph", //随机生成中文段落
    "img": "@image('200x100', '#50B347', '#FFF', 'png', 'Mock.js')", //随机生成图片
    "address": "@county(true)", //随机生成地址
    "email": "@email", //随机生成邮箱
    "ip": "@ip", //随机生成ip
    "url": "@url", //随机生成url
  }
  return {
      "data|10": [json,],
      code: 200,
      message: 'success'
  }
}

